// compress: true, sourceMap: true
// 生成压缩css文件   生成地图，方便浏览器检查

// 样式初始化
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 1920px;
  background: url("../images/bg.jpg");
  color: #4c9bfd;
}
li {
  list-style: none;
}
.panel {
  border: solid;
  box-sizing: border-box;
  /* 3.边框图片 */
  border-image-source: url("../images/border.png");
  /* 边框图片宽度 上右下左 */
  border-image-width: 55px 40px 25px 127px;
  /* 边框图片切片 上右下左 */
  border-image-slice: 55 40 25 127;
  /* 边框图片平铺 */
  border-image-repeat: repeat;
}
.head_logo {
  width: 100%;
}

.panel_title {
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 35px;
  color: #fff;
  font-size: 20px;
  h3 {
    font-size: 20px;
    font-weight: 400;
  }
  .line {
    height: 22px;
    width: 2px;
    background-color: #00f2f1;
    margin: 0 25px;
  }
  .dis_active {
    color: #1950c4;
  }
}

.rect {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  // align-items: center;
  padding: 0 35px;
  width: 168px;
  height: 236px;
  background: url(../images/rect.png) no-repeat;
  .rect_item {
    .rect_number {
      font-size: 26px;
      color: #fff;
      font-weight: 400;
    }
    .rect_text {
      margin-top: 10px;
      font-size: 16px;
      i {
        margin-right: 5px;
      }
    }
    &:nth-child(1) i {
      color: #ed3f35;
    }
    &:nth-child(2) i {
      color: #eacf19;
    }
  }
}
.container {
  display: flex;
  padding: 0 20px;
  margin-bottom: 20px;

  // 内容左边
  .container_left {
    width: 552px;
    margin-top: -26px;
    // background-color: tan;

    // 设备
    .device {
      height: 110px;
      ul {
        height: 110px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        .device_item {
          // background-color: rgb(105, 105, 105);
          h4 {
            font-size: 22px;
            color: #fff;
            font-weight: 400;
          }
          p {
            font-size: 16px;
            margin-top: 10px;
            i {
              margin-left: -5px;
            }
          }
          &:nth-child(1) i {
            color: #006cff;
          }
          &:nth-child(2) i {
            color: #6acca3;
          }
          &:nth-child(3) i {
            color: #6acca3;
          }
          &:nth-child(4) i {
            color: #ed3f35;
          }
        }
      }
    }
    // 监控
    .monitoring {
      display: flex;
      flex-direction: column;
      height: 480px;
      margin: 20px 0;
      .mon_head {
        height: 38px;
        background-color: rgba(255, 255, 255, 0.2);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 35px;
        color: #68d8fe;
      }
      .mon_item {
        flex: 1;
        overflow: hidden;
        margin-bottom: 20px;
        ul {
          li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 35px;
            height: 40px;
          }
        }
      }
    }
    // 点位
    .point {
      height: 340px;
      .point_con {
        display: flex;
        justify-content: space-between;
        padding: 0 35px;
        .point_map {
          flex: 1;
          // background-color: rgba(255, 255, 255, 0.2);
          margin-right: 10px;
        }
      }
    }
  }

  // 内容中间
  .container_center {
    flex: 1;
    // background-color: tomato;
    margin: 0 20px;
    .migrate_title {
      height: 54px;
      line-height: 40px;
      color: #fff;
      font-size: 20px;
      font-weight: 400;
      i {
        color: #68d8fe;
        margin-right: 6px;
      }
    }
    .migrate_map {
      height: 530px;
      margin-bottom: 20px;
      background-color: rgba(255, 255, 255, 0.2);
    }
    .user {
      height: 340px;
      .user_con {
        display: flex;
        padding: 0 35px;
        .user_map {
          flex: 1;
          margin-right: 20px;
          // background-color: rgba(255, 255, 255, 0.2);
        }
      }
    }
  }

  // 内容右边
  .container_right {
    width: 552px;
    margin-top: -26px;
    // background-color: pink;

    // 订单
    .order {
      height: 148px;
      .order_list {
        display: flex;
        padding: 0 35px;
        .order_item {
          flex: 1;
          .order_number {
            font-size: 26px;
            color: #fff;
          }
          .order_text {
            margin-top: 3px;
          }
          &:nth-child(1) i {
            color: #ed3f35;
          }
          &:nth-child(2) i {
            color: #eacf19;
          }
        }
      }
    }

    // 销售额
    .sale {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 248px;
      margin-top: 20px;
      .sale_title {
        display: flex;
        li {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 24px;
          height: 24px;
          margin-right: 30px;
          padding: 5px;
          font-size: 14px;
          color: #0bace6;
          border-radius: 3px;
        }
        .active {
          background-color: #4c9bfd;
          color: #fff;
        }
      }
      .sale_map {
        flex: 1;
        margin: 0 35px 20px;
        // background-color: rgba(255, 255, 255, 0.2);
      }
    }

    // 渠道
    .distribute {
      height: 232px;
      display: flex;
      margin: 20px 0;

      // 渠道分布
      .channel {
        flex: 1;
        height: 232px;
        margin-right: 20px;
        .channel_list {
          display: flex;
          flex-wrap: wrap;
          padding-left: 35px;
          .channel_item {
            width: 50%;
            .channel_number {
              font-size: 26px;
              color: #fff;
              font-weight: 400;
              &::after {
                content: "%";
                font-size: 14px;
                margin-left: 10px;
              }
            }
            .channel_text {
              margin-bottom: 15px;
              i {
                margin-right: 5px;
              }
            }
          }
        }
      }

      // 进度
      .progress {
        position: relative;
        flex: 1;
        height: 232px;
        .progress_map {
          height: 80px;
          // background-color: rgba(255, 255, 255, 0.2);
          padding: 0 35px;
        }
        .progress_box {
          position: absolute;
          top: 45%;
          left: 41%;
          font-size: 30px;
          color: #fff;
          font-weight: 400;
          &::after {
            content: "%";
            font-size: 16px;
            margin-left: 5px;
          }
        }
        .progress_list {
          display: flex;
          padding: 0 35px;
          margin-top: 5px;
          .progress_item {
            flex: 1;
            .progress_number {
              font-size: 26px;
              color: #fff;
            }
            .progress_text {
              font-size: 14px;
              margin-top: 5px;
            }
            &:nth-child(1) i {
              color: #6acca3;
            }
            &:nth-child(2) i {
              color: #ed3f35;
            }
          }
        }
      }
    }

    // 全国热榜
    .hot {
      height: 283px;
      .panel_title {
        justify-content: space-between;
        span {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 67px;
          height: 13px;
          font-size: 14px;
          color: #0bace6;
          background: url(../images/line.png) no-repeat;
        }
      }
      .hot_list {
        display: flex;
        padding: 0 35px;
        .hot01 {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          margin-bottom: 10px;
          .hot01_item {
            display: flex;
            align-items: center;
            i {
              font-size: 40px;
              margin-right: 20px;
            }
            &:nth-child(1) i {
              color: #d93f36;
            }
            &:nth-child(2) i {
              color: #68d8fe;
            }
            &:nth-child(3) i {
              color: #4c9bfd;
            }
          }
        }
        .hot02 {
          width: 155px;
          .hot02_item {
            height: 38px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 10px;
            .hot02_number {
              i {
                margin-left: 5px;
              }
            }
          }
          .active {
            background-color: rgba(0, 34, 119, 0.4);
          }
        }
        .icon-up {
          color: #dc3c33;
        }
        .icon-down {
          color: #36be90;
        }
        .hot03 {
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          width: 155px;
          height: 193px;
          background-color: rgba(0, 34, 119, 0.4);
          padding: 0 10px;
          .hot02_item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #52ffff;
            font-size: 14px;
            .hot02_number {
              i {
                margin-left: 5px;
              }
            }
          }
        }
      }
    }
  }
}
